package sessionBeans;

import java.util.List;
import javax.ejb.Local;

import objects.HelpmeetingObject;
import entityBeans.Comment;
import entityBeans.Helpmeeting;
import entityBeans.User;

/**
 *
 * @author user
 */
@Local
public interface HelpmeetingFacadeLocal {

/*
 *
 * this method will send an empty form to user to participate a meeting
 */
    void addMeeting(Helpmeeting helpmeeting);
    
/*
 *
 * this method will save the meeting information into database
 */
    void submitMeeting(Helpmeeting helpmeeting);
    
    void commentOnMeeting (User user, HelpmeetingObject meeting, Comment comment) throws BeanException;

    void create(Helpmeeting helpmeeting);

    void edit(Helpmeeting helpmeeting);

    void remove(Helpmeeting helpmeeting);

    Helpmeeting find(Object id);

    List<Helpmeeting> findAll();

    List<Helpmeeting> findRange(int[] range);

    int count();
    
}
